implemented Delay after closing

also updated button pin due to someone else’s fault ;)