change layouts and resume