Fixed erase

The device wasn't being passed through the erase view to the erase confirmation view... now it is.