Trying to fix switch-bouncing