Added frame rate into MainActivity.