Reset actionbar slot state when triggering a transform power

Fixes #840
Move actionbar slot resetting to its own function
Merge pull request #842 from dorkster/bugfixes

Reset actionbar slot state when triggering a transform power