Prevent configuration changes from restarting the Main Activity.