Save last completed level to preferences