Update activity on focus.