Disable Apply Updates button and refresh datagrid when train is changed

Ticket: #6300