Fix for settings tab not working.

Now remembers saved tab.