Move locking calback in Fragment to be able to enable or unable edition