To optimize the ReleaseActivity