implemented all challenge requirements

Pull request for Challenge Edit App Refactor challenge. Let me know if it needs any fix.