Stores controller only when Activity is finishing.