optimize ReleaseActivity