changed if-else: deleted useless one in onStart and added "else" in onCreate