Fixed bug for double-clicking on archived items

Fixed a bug where it was possible to go into edit mode on archived items
without being logged in.
Merge pull request #59 from fredrikpersson/doubleclickbug

Fixed bug for double-clicking on archived items