Added button up and button down commands