Implemented DualStateButtonManager class