Added DatabaseHelper class to display the formula