Actress sentenced to three years jail for posting black profile picture