add toggle for setting/close button. added function to aleart when user should break