changing favorite- attribute from string to boolean