stopped button being clickable while active.