Fix small bug about editing list items immediately