Implementing the new behavior of back button - it will restore previous fragments in each tab if the user is not in the default fragment; if the user is in default fragment then pressing back will close the app