I assume you have installed free version of avast. You have to open the GUI(left click once on avast tray icon) > additional protection > settings > delete the file you added to sandbox(see picture-follow the numbers.)> click OK.

Next time, when it asks whether to sandbox, do not sandbox.