Got clearLayouts to work