The ironstone St Denys Church had faced an uncertain future before a grant for repairs.