Made preformActionCommand public