Need littlebit help

Hello all folks! Im new for this app and i try to make somekind app to gate opener,so i try and try but never accomplished for that task so maybe someone can help me.
i just need 1 screen where is ON and OFF buttons and settings button, second screen is setting screen where i need phone number, ON code and OFF code to be stored and saved after that first screen on button send text message to added phone numer via addet on settings and off button is same but off settings sending added number
Thanks for help and sorry my bad english :grinning_face_with_smiling_eyes:

So any problems you have met?
And we suggest to use virtual screens