Fix absolute path issue with theme selection

This fix a small error, where the theme is not correctly loaded because the switch_theme function is not using absolute path.