Changed scheduling service to hide buttons when not needed