Defined some default behaviour for the back button and cleaned the manifest code