Fixed minor issues

- Bug concerning assigning templates to samples during edit process of
study has been fixed
- Additional columns for samples are no longer shown when no template is
assigned to the sample
Updated version of dbxp base