added two buttons for startReading and clear database