Getting the Button Input to the system