Fix stop reading message not showing up
When data loading is stopped by clicking on the "Stop" button, the message "Data loading has been stopped" should be shown. Instead, the "Start plotting data..." message is shown instead. This MR fixes that issue by checking if data loading is successful and show the correct message.
Edited by Kien Le