Edit button fix