refactor buffer check for pow-app-list-mode commands