Add delete record and fix bugs with picture slider