Added support for click on the overlay.
Added support for a delay when changing effect.