start app and specify its window