cleanup layouts, prepare layouts for new key view