Enable mutex
Set up timer for debouncing