Remove an unnecessary activity