I always use a fork to prick the apples before removing it from the oven. If the apples are tender, I'll take it out of the oven and if not, I'll cover it with aluminum foil (so the topping doesn't brown too much) and bake longer. The type of square baking pan you use will have an effect on the time it'll take to bake (a glass or ceramic pan will take longer than metal).