Default [Q]more toggles

Hi Greetings to all, I am testing a stock based rom ND3 would like to know how to add more toggles like flashlight etc. Thank you all.

PDa-Sorry if it is not the right place