Consolidate input button functions