tweaked buddy.UIbutton() function