Prevent user pressing the back button for MainActivity and StartupActivity