Added tasks fragment and implemented on back button pressed listener