Added basic mode change command handler