I forgot to initialise the variables for the switch texts