Fixed pending count issue.
Replace push segue in pending button with IBAction.