added reset and unselect in mainactivity