Added ability to select template when campaign creating
Refactored code