variable update
after double click reset state