adding auto connect && save of opened categories