add appmainwindow to utils