Fix menu icon
Write current track to database