Have you considered moving to QML? It is simpler and you can concentrate on the functionality while the UI remains untouched.