Prepare the spell paging to be able to deal with Button Grid

 -default to previous behaviour if no grid
Inject button grid safety functions where needed

 -fixes a bug with action bar leaving buttons in pressed state