Implemented tablet back button

To go back single fragment and return necessary states