change UI options on resume as well. Bugfix