enable and disable add and update schedule buttons