Changing retentionPolicy to RUNTIME in Deactivate