Add song to history.
Open history. Called once on script invocation.
Save history. Called each time history is updated.