Reviews functions

Fix:
RatingDialogFragment - lines 42 to 45
DatabaseSynchronization - lines 35 to  56