Added Automation mode (long press automation button) to change automation mode.