<BUG>import android.app.FragmentTransaction;import android.content.Intent;import android.os.Bundle;</BUG><CONTEXT>package com.farmerbb.notepad;import android.app.Activity;import android.app.DialogFragment;import android.app.Fragment;<extra_id_0>import android.view.KeyEvent;import android.widget.Toast;</CONTEXT>
import android.content.Context;import android.content.SharedPreferences;import android.os.Bundle;