added button groups option. fixed toastr.