add frame to the app  window