Showing window after adaptor is initialized