Bugfix - active profile deactivating after close profile preferences
activity