fixes couple of bug and added new bsbutton element