Created button finish and changed database the sqlite to mysql