Fix RateDialog initialization
Small condition fix
Merge pull request #9 from appunite/dialog_fix

Fix RateDialog initialization