working hide button and reset event date