Cleaned code from AddActivity

harmonized code's style