add new function to get favorite note