framework of state saving. maintain clicked action thumbnail on screen in sprite editor