Adding a "remove" functionality for preauthorizations, fixing a typo in the details function, adding a few missing semicolons

The main goal of this pull request is to add the remove functionality for preauthorizations, to enable users to cancel a preauthorization.