Added algorithm navigation buttons and keys. So now it is possible to add action in the middle of algorithm