added refresh button and offline sync mode to stock info