private void configureEnabled ( Manager manager ) { if ( enabled != manager . isEnabled ( ) ) { if ( enabled ) { manager . enable ( ) ; } else { manager . disable ( ) ; } } }
When needed toggle the enabled flag of given Simon manager