refactor application pendings views