push: add else if branches, remove cluttered if statements, remove nested if statements
push: add else if branches, remove cluttered if statements, remove nested if statements

phrase/phraseapp-client,phrase/phraseapp-client