button now resets only when has fucus