Back button issue fixed. Activity closing properly