Apply deferred settings before freeing settings list

Deferred settings were getting lost on exiting the settings menu.