Implemented long press for master button.