Fix edit mode toggle after dive(s) upload / delete

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>