Added helper functions for theme selection