fixed storing rate spinner values in database