city autodetection and option
fixed widget initialization order
closes #1