optimized glowing effect and reset button