Completed cell colour change triggers and formatted code