Update buttons on file list update

Fixes #27.