Creating methods to map fragments behavior on application process.