Fixed preview buttons

Closes GH-63.