Added methods to use custom dialog theme and divider color and tweaked license text parsing