Enable and disable the connect and disconnect menu options