add setTimeout to click action