Made rating view to work.