cleaning up buttonToggle view and warning msg