set counter not to clear on firebase from reset function