modified profile result flash function
Merge pull request #8 from nadavmatalon/unitTesting

modified profile result flash function