Use new UI library instead of deprecated widget one.