Push switch conditions/tasks

You can use the UDevice.toSpecialCase() function for the switch condition..