Added preview action with error managing
Added some labels
Fixed problems on test