Data Manager class and toggle favorite