Adding deviceready.