Fixed resetting of buttons. No longer inserts a code 0 invalid slot. Using the invalid slot would cause X to throw errors. This was noticeable when set changing would no longer work as a result.