changed name for pending app and add counter to pending app