got the thing to work with the select all stuff for the buttons