Remember if license has been accepted

Fixes #828