Ui

Trying to fix the activity being killed if the config is changed