How can I create a timer for my flight mode? (After the timer ends it returns back to normal)

Oh I figured it out, thank you so much!