Updated flaps control

-Added flap switch control