Added single instance of activity and other methods