Use factory style for building UndoBar

Plus shorter duration and increase padding