Update user theme selector to work in subdirectories