gui: move history action to dedicated controller