Added trycatch to roomAfterShow