fix button preferences not working
also removed the preferences listener—stuff is getting recreated when we enter preferences. is it not?