Check whether this is first running or not.

Use sharedpreferences to store a boolean value named "firstRunning".