Updates the toggleApplication: method to enumerate the array objects using a block, instead of a performSelector: loop.