CC-5450 : Refactor Media Management (Classes/DB) in Airtime

more fixes for history editing