Switch widget: Support for custom values from config

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>