Fix refresh prolem
Fix page update with $scope.$apply