Fix edit and contribute button. Closes #4