Fix #330 A button to delete devices

Fix button formatting on device tab.

Delete button added.

Remove device selection after delete.
Do we want to log that to the console or is it better to put that into an alert? We should probably have an erro handler too because js/alert will fire even if the delete failed.