added icon and losing state
added reset button functionality to icon button