Implemented recording of input changes.
Removed an unnecessary device button state set.