Apparatus and control method for displaying content of peripheral device