some changes to setting bckgrounds of buttons