Added preview button to view