Removed setRetainInstance(true) as it was causing crash on opening reply dialog after rotation. Arraylists of result and types not serialized, but stored/restored from a static class on runtime changes.