library: add undobar lib

All credits to @soarcn

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
profiles: add a undo functionality

When deleting profiles the user should have the choice
to undo the taken actions. Doing this the "Google" way
since it seems to fit just perfectly.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>