Created by: maitesin
I think I can still improve some of the content of the cases (I can see three really similar).
If you like the way I make the switch I will spend some more time in other files to change big blocks of if else if... that can be converted into switch.