Fixed double execution of #new button
Fixed "You don't have write permissions" bug