#GH407 - toggle action
#GH407-added toggle action in ActionBase
Merge remote-tracking branch 'origin/GH407-toggle-action'
#407 - toggle action; code corrections