fixing apply and print buttons for hydrograph