refactor checks for select All in live view