Implement customizable shortcuts

Please have a look at this suggestion to implement custom shortcuts for the hash and (un)mask actions.