Added a delay to reduce bounce.