Add overlay warning

* Improve the main
* Set default value in xml file