Added method to remove applications