Fixed bugs relating to approving apps