Implemented, but not fully debugged the dispenser button