edit review (bug 847690)

No idea if this is near what you wanted but it works! :) I'll add comments in the code after sending the PR