Fixed restricting activity recognition
merge