Added saving range and rating, fix bug with rating input