hide main window button if there is calendar
send a getUpdate on config window closing