Add theme selector to text viewer