Bug 1068479 - Copy paste toolbox has no hit state

https://bugzilla.mozilla.org/show_bug.cgi?id=1068479
Please avoid define any function inside a function