added favorites button and persisted favorites collection